package com.burger.counter.business;

import com.burger.counter.beans.Kids;
import com.burger.counter.dao.KidsDao;

public class KidsBusiness {
	public Kids[] getKidsDetails(int regionId) throws Exception{
		System.out.println("we r in business layer");
		KidsDao kidsDAO = new KidsDao();
		Kids[] kidsData = kidsDAO.getKidsDetails(regionId);
		return kidsData;
		
	}
	
	public void setKidsCount(int regionId,String kidsName) throws Exception
	{
		System.out.println("we r in business layer");
		KidsDao kidsDAO = new KidsDao();
		kidsDAO.setKidsCount(regionId, kidsName);		
	}

}
